import request from '@/utils/request';



export function editStatus(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/editStatus',
    method: 'post',
    data
  });
}


export function addRemark(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/addRemark',
    method: 'post',
    data
  });
}

export function editManySendMoney(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/editManySendMoney',
    method: 'post',
    data
  });
}

export function editAllSendMoney() {
  return request({
    url: '/comprehensive/newClassGoodApply/editAllSendMoney',
    method: 'post'
  });
}


export function editSendMoney(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/editSendMoney',
    method: 'post',
    data
  });
}



export function listJwcAll(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listJwcAll',
    method: 'get',
    params
  })
}



export function listXwAll(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listXwAll',
    method: 'get',
    params
  })
}


export function listFdyAll(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listFdyAll',
    method: 'get',
    params
  })
}


export function listJwc(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listJwc',
    method: 'get',
    params
  })
}


export function listXw(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listXw',
    method: 'get',
    params
  })
}

export function manyAudit(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/manyAudit',
    method: 'post',
    data
  })
}



export function doAudit(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/doAudit',
    method: 'post',
    data
  })
}
export function reApply(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/reApply',
    method: 'post',
    data
  })
}

export function listFdy(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listFdy',
    method: 'get',
    params
  })
}



export function cancelApply(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/cancelApply',
    method: 'post',
    data
  })
}


export function doApply(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/doApply',
    method: 'post',
    data
  })
}


export function getOwnClass() {
  return request({
    url: '/comprehensive/newClassGoodApply/getOwnClass',
    method: 'get'
  })
}


export function listStu(params) {
  return request({
    url: '/comprehensive/newClassGoodApply/listStu',
    method: 'get',
    params
  })
}



// 查询先进班集体列表
export function listNewClassGoodApply(query) {
  return request({
    url: '/comprehensive/newClassGoodApply/list',
    method: 'get',
    params: query
  })
}

// 查询先进班集体详细
export function getNewClassGoodApply(id) {
  return request({
    url: '/comprehensive/newClassGoodApply/' + id,
    method: 'get'
  })
}

// 新增先进班集体
export function addNewClassGoodApply(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/add',
    method: 'post',
    data: data
  })
}

// 修改先进班集体
export function updateNewClassGoodApply(data) {
  return request({
    url: '/comprehensive/newClassGoodApply/update',
    method: 'post',
    data: data
  })
}

// 删除先进班集体
export function delNewClassGoodApply(id) {
  return request({
    url: '/comprehensive/newClassGoodApply/' + id,
    method: 'post'
  })
}
